home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Burning & Media / GB-PVR 1.2.13 / GBPVR10213.msi / Cabs.w1.cab / ChangeLog.xsl49 < prev    next >
Extensible Markup Language  |  2006-11-01  |  2KB  |  75 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  3.     <xsl:output method="html" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" />
  4.  
  5.     <xsl:template match="/">
  6.         <xsl:element name="html">
  7.             <head>
  8.                 <title>GBPVR - Change Log</title>
  9.                 <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1"/>
  10.                 <meta name="CODE_LANGUAGE" Content="C#"/>
  11.                 <meta name="vs_defaultClientScript" content="JavaScript"/>
  12.                 <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"/>
  13.                 <style type="text/css">
  14.           .smallBlackText {font-family:verdana,arial;font-size:12px;color:#000000;}
  15.           .blackText {font-family:verdana,arial;color:#000000;}
  16.           .largeBlackText {font-family:verdana,arial;font-size:20px;color:#000000;align=center;font-weight:bold;}
  17.           .borders {border-left:1px solid #000000;border-right:1px solid #000000;border-top:1px solid #000000;border-bottom:1px solid #000000;}
  18.         </style>
  19.             </head>
  20.             <xsl:apply-templates select="changelog"/>
  21.         </xsl:element>
  22.     </xsl:template>
  23.  
  24.     <xsl:template match="changelog">
  25.         <body bgcolor="#DDDDDD">
  26.             <span class="largeBlackText">GBPVR Web Admin Change Log</span>
  27.             <hr/>
  28.             <xsl:apply-templates select="build"/>
  29.         </body>
  30.     </xsl:template>
  31.  
  32.     <xsl:template match="build">
  33.         <p>
  34.             <table class="borders" border="1" width="450" cellpadding="0" cellspacing="0">
  35.                 <tr class="blackText" bgcolor="#FFCCAA">
  36.                     <td><b>Date:</b></td>
  37.                     <td>
  38.                         <xsl:value-of select="@release_date"/>
  39.                     </td>
  40.                     <td><b>Build Number:</b></td>
  41.                     <td>
  42.                         <xsl:value-of select="@build_number"/>
  43.                     </td>
  44.                 </tr>
  45.                 <tr>
  46.                     <td colspan="4" bgcolor="#FF99CC"><b>Changes:</b></td>
  47.                 </tr>
  48.                 <tr class="smallBlackText">
  49.                     <td colspan="4">
  50.             <ul>
  51.               <xsl:apply-templates select="changes"/>
  52.             </ul>
  53.                     </td>
  54.                 </tr>
  55.             </table>
  56.         </p>
  57.     </xsl:template>
  58.     
  59.     <xsl:template match="changeitem">
  60.     <ul>
  61.       <xsl:element name="li">
  62.         <xsl:value-of select="."/>
  63.       </xsl:element>
  64.     </ul>
  65.     </xsl:template>
  66.  
  67.   <xsl:template match="change">
  68.     <xsl:element name="li">
  69.       <i><xsl:value-of select="@author"/></i>:
  70.       <xsl:value-of select="."/>
  71.     </xsl:element>
  72.   </xsl:template>
  73.  
  74. </xsl:stylesheet>
  75.